package workspace.teaweb.Logistics.pojo.entity;

import com.baomidou.mybatisplus.annotation.Version;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

@Data
public class Warehouse {
    @ApiModelProperty(value = "仓库id")
    private Long id;
    @ApiModelProperty(value = "仓库名称")
    private String name;//仓库名称
    @ApiModelProperty(value = "库存")
    private int number;//库存
    @ApiModelProperty(value = "创建时间")
    private Date CreateTime;//创建时间
    @ApiModelProperty(value = "更新时间")
    private Date UpdateTime;//更新时间
    @ApiModelProperty(value = "状态")
    private String status;//状态
    @ApiModelProperty(value = "客户id")
    private Long userid;//客户id
    @ApiModelProperty(value = "操作员工id")
    private Long CRMid;//操作员工id,需要联动CRM系统需要存储操作日志。
    @ApiModelProperty(value = "订单id")
    private Long orderid;//订单id，如果是自营仓储则为0
    @ApiModelProperty(value = "商品id")
    private Long Merchantid;

    @ApiModelProperty(value = "版本id")
    @Version
    private int version;


 }
